import { CHANGEFORGETPASSWDACTIVATE, DOFORGETPASSWD, DOFORGETPASSWDSAGA } from '../constants'

// 是否弹窗忘记密码的弹窗
export const ChangeForgetPasswdActivate = (obj) => ({
    type: CHANGEFORGETPASSWDACTIVATE,
    data: obj
})

// 向后端发送修改密码请求
export const DoForgetPasswdSaga = (obj) => ({
    type: DOFORGETPASSWDSAGA,
    data: obj
})

// 修改密码是否成功
export const DoForgetPasswd = (obj) => ({
    type: DOFORGETPASSWD,
    data: obj
})